package com.jzlin.funhub.admin.model.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 点赞/取消点赞文章.
 *
 * @author linjz
 * @since 2025/7/25
 */
@Data
@ApiModel
public class ArticleStarReq {
    @ApiModelProperty("文章id")
    @NotNull(message = "文章id不能为空")
    private Long articleId;

    @ApiModelProperty("标志")
    @NotNull(message = "标志位不能为空")
    private Boolean flag;
}
